package com.foucus.myfouces.MVP.Model;

import java.io.Serializable;
import java.util.List;

/**
 * Created by yf-06 on 2017/6/28.
 */

public class BannerResp {
    /**
     * errno : 000
     * errmsg :
     * result : {"data":[{"id":57,"name":"EVAN","thumb":"http://7xrwsf.com1.z0.glb.clouddn.com/584a7db2e86b3.png","type":"videos","resources":14411,"url":""},{"id":58,"name":"女人与枪","thumb":"http://7xrwsf.com1.z0.glb.clouddn.com/584baac13e55c.png","type":"videos","resources":14487,"url":""},{"id":59,"name":"时来运转","thumb":"http://7xrwsf.com1.z0.glb.clouddn.com/5853c1bbe6353.png","type":"videos","resources":16982,"url":""},{"id":51,"name":"13372","thumb":"http://7xrwsf.com1.z0.glb.clouddn.com/5845388786970.gif","type":"videos","resources":13372,"url":""},{"id":55,"name":"预产期","thumb":"http://7xrwsf.com1.z0.glb.clouddn.com/5848c93bd7181.png","type":"videos","resources":14114,"url":""},{"id":56,"name":"新女皇","thumb":"http://7xrwsf.com1.z0.glb.clouddn.com/584913061bc77.png","type":"videos","resources":14150,"url":""}]}
     */

    private String errno;
    private String errmsg;
    private ResultBean result;

    public String getErrno() {
        return errno;
    }

    public void setErrno(String errno) {
        this.errno = errno;
    }

    public String getErrmsg() {
        return errmsg;
    }

    public void setErrmsg(String errmsg) {
        this.errmsg = errmsg;
    }

    public ResultBean getResult() {
        return result;
    }

    public void setResult(ResultBean result) {
        this.result = result;
    }

    public static class ResultBean implements Serializable {
        private List<DataBean> data;

        public List<DataBean> getData() {
            return data;
        }

        public void setData(List<DataBean> data) {
            this.data = data;
        }

        public static class DataBean implements Serializable {
            /**
             * id : 57
             * name : EVAN
             * thumb : http://7xrwsf.com1.z0.glb.clouddn.com/584a7db2e86b3.png
             * type : videos
             * resources : 14411
             * url :
             */

            private int id;
            private String name;
            private String thumb;
            private String type;
            private int resources;
            private String url;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getThumb() {
                return thumb;
            }

            public void setThumb(String thumb) {
                this.thumb = thumb;
            }

            public String getType() {
                return type;
            }

            public void setType(String type) {
                this.type = type;
            }

            public int getResources() {
                return resources;
            }

            public void setResources(int resources) {
                this.resources = resources;
            }

            public String getUrl() {
                return url;
            }

            public void setUrl(String url) {
                this.url = url;
            }
        }
    }
}
